home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / shore_siege.swf / scripts / DefineButton2_140 / BUTTONCONDACTION on(release).as next >
Text File  |  2011-08-19  |  308b  |  9 lines

  1. on(release){
  2.    _root.pirateActive = _root.pirateActive + 1;
  3.    _parent["pirateMan" + _root.pirateActive].active = true;
  4.    _parent["pirateMan" + _root.pirateActive]._visible = true;
  5.    this["pirateMan" + _root.pirateActive]._visible = true;
  6.    _root.money -= 4000;
  7.    _parent.W_A._visible = true;
  8. }
  9.